﻿using Microsoft.AspNetCore.Mvc;

namespace GroupTwo_MVC.Controllers
{
    public class SalesController : Controller
    {
        private readonly IConfiguration _configuration;

        public SalesController(IConfiguration configuration)
        {
            _configuration = configuration;
        }
        /// <summary>
        /// 添加发货通知单
        /// </summary>
        /// <returns></returns>
        public IActionResult AddDelivey()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 获取发货通知单列表
        /// </summary>
        /// <returns></returns>
        public IActionResult GetDelivey()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 获取发货通知单明细表
        /// </summary>
        /// <returns></returns>
        public IActionResult GetDeliveryAll()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 修改发货通知单
        /// </summary>
        /// <returns></returns>
        public IActionResult UpdateDelivery()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 查看发货通知单明细
        /// </summary>
        /// <returns></returns>
        public IActionResult GetDetails()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

        /// <summary>
        /// 添加退货票知单
        /// </summary>
        /// <returns></returns>
        public IActionResult Addreturn_notice_main()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

        /// <summary>
        /// 查询退货通知单列表
        /// </summary>
        /// <returns></returns>
        public IActionResult Getreturn_notice_main()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 查询退货通知单详细列表
        /// </summary>
        /// <returns></returns>
        public IActionResult return_notice()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 修改退货通知单
        /// </summary>
        /// <returns></returns>
        public IActionResult Udpreturn_notice_main()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }




    }
}
